package com.moto.service.impl;

import com.moto.entity.RotationH;
import com.moto.mapper.RotationHMapper;
import com.moto.service.IRotationHService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 首页轮播图 服务实现类
 * </p>
 *
 * @author hyf
 * @since 2023-09-03
 */
@Service
public class RotationHServiceImpl extends ServiceImpl<RotationHMapper, RotationH> implements IRotationHService {

    @Autowired
    private RotationHMapper rotationHMapper;
    @Override
    public List<RotationH> findAll() {
        return rotationHMapper.findAll();
    }
}
